#ifndef SCHEDULER_H
#define SCHEDULER_H

#include <QVector>

class Component;

class Scheduler {
public:
    // 执行调度计算
    static void dispatch(QVector<Component*>& components, double dt, int timeStep);

    // 计算总负载
    static double calculateTotalLoad(const QVector<Component*>& components);

    // 计算总发电量
    static double calculateTotalGeneration(const QVector<Component*>& components);
};

#endif // SCHEDULER_H
